package com.orange.adapterPatterns;

/**
 * @Description: 适配器
 */
public class Adapter implements NeedInterface{
    private OurInterface ourInterface;

    @Override
    public void queryByName(String name) {
        ourInterface.selectByName(name);
    }

    @Override
    public void add() {
        ourInterface.insert();
    }
}
